home *** CD-ROM | disk | FTP | other *** search
/ Chip Hitware 7 B / CHIP_HITWARE_7B.iso / Edukacja / Guitar Tuner / Wintun16.dxr / 00021_stringDown.ls < prev    next >
Encoding:
Text File  |  1997-04-24  |  341 b   |  15 lines

  1. on stringDown
  2.   set chButton to the clickOn
  3.   set the locV of sprite the clickOn to the locV of sprite the clickOn + 2
  4.   updateStage()
  5.   repeat while the stillDown
  6.     nothing()
  7.   end repeat
  8.   set the locV of sprite the clickOn to the locV of sprite the clickOn - 2
  9.   if rollOver(chButton) then
  10.     return 1
  11.   else
  12.     return 0
  13.   end if
  14. end
  15.